package com.numbfish.ch_03.Phaser_onAdvance.src.extthread ;

import java.util.concurrent.Phaser;

import com.numbfish.ch_03.Phaser_onAdvance.src.service.MyService;

public class ThreadB extends Thread {

	private MyService myService;

	public ThreadB(MyService myService) {
		super();
		this.myService = myService;
	}

	public void run() {
		myService.testMethod();

	}

}